package com.summer.web.lambda.test1;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by thinkpad on 2018/5/27.
 */
public class Mule implements IHorse,IDonkey,IAnimal{
    @Override
    public void eat() {
        System.out.println("Mule eat");
    }

    @Override
    public void run() {
        IHorse.super.run();
    }

    public static void main(String[] args) {
//        Mule mule = new Mule();
//        mule.run();
//        mule.breath();

//        List<Integer> numbers =  Arrays.asList(1,2,3,4,5,6);
//        numbers.forEach((Integer v) -> System.out.println(v));


//        System.out.println(System.out);


        List<Double> numbers = new ArrayList<Double>();
        for (int i = 0;i < 10 ;i++) {
            numbers.add(Double.valueOf(i));
        }
//        numbers.stream().map(Double::toString).forEach(System.out::println);

    }
}
